package study.inversionofcontrol;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		ApplicationContext appContext = 
				new ClassPathXmlApplicationContext("/study/inversionofcontrol/resource/beans.xml");
		
		QuizMasterService serviceTest= (QuizMasterService) appContext.getBean("quizMasterService");
		serviceTest.askQuestion();
	}
}
